home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 52
/
Volume 52 - JOGO DISK .iso
/
Games
/
sandwichcooking.swf
/
scripts
/
DefineButton2_551
/
BUTTONCONDACTION on(release).as
< prev
next >
Wrap
Text File
|
2007-09-27
|
596b
|
27 lines
on(release){
this.stopDrag();
this.gotoAndStop(1);
if(_root.chr._currentframe == 1)
{
_root.txtX._visible = true;
_root.txtX.play();
_root.chr.gotoAndPlay(11);
this._x = targetX;
this._y = targetY;
}
else if(this.hitTest(_root.chr.idrop))
{
_root.chr.slettuce._visible = true;
this._x = targetX;
this._y = targetY;
this._visible = false;
_root.chop.lettucex.gotoAndPlay(34);
_root.lettucex._visible = false;
}
else
{
this._x = targetX;
this._y = targetY;
}
}